﻿using System;
using BlueDot.Mobile.Core;

namespace NotifyIcon
{
    public partial class MainView : ViewBase
    {
        #region Constructors

        public MainView()
        {
            InitializeComponent();
        }

        [DependencyConstructor]
        public MainView(IMobileApplication application)
            : base(application)
        {
            InitializeComponent();
        }

        #endregion

        #region private

        private void exitButton_Click(object sender, EventArgs e)
        {
            Application.ExitRuntime();
        }

        #endregion
    }
}